package com.matrix.java.chap_18;

public class Ex18_09 {
    public static void main(String[] args) {
        reverseDisplay("123qwe");
    }

    public static void reverseDisplay(String value) {
        if (value.length() != 0) {
            System.out.print(value.substring(value.length() - 1));
            reverseDisplay(value.substring(0, value.length() - 1));
        }
    }
}
